package com.magic.gre.mvp.contract;

import com.magic.gre.entity.WordsBean;
import com.noname.lib_base_java.mvp.BaseContract;

import java.util.List;

import io.reactivex.Observer;
import okhttp3.ResponseBody;

/**
 * Author: Lmoumou
 * Date: 2019-01-07 17:45
 * 文件名: NewWordsContract
 * 描述:
 */
public interface NewWordsContract {
    interface Model extends BaseContract.BaseModel {
        void mNewWordsList(Observer<ResponseBody> observer, int pageNo);
    }

    interface Presenter extends BaseContract.BasePresenter {
        void pNewWordsList(int pageNo);
    }

    interface View extends BaseContract.BaseView {
        void vNewWordsList(List<WordsBean> wordsBeanList);
    }
}
